import React,{Component} from 'react'
import { Button,DatePicker } from 'antd'
import { WechatOutlined,WechatWorkOutlined,SearchOutlined } from '@ant-design/icons'
const { RangePicker } = DatePicker;

const onChange = (date, dateString) => {
  console.log(date, dateString);
};

export default class App extends Component{

  render(){
    return (
      <div>
        <h2>App</h2>
        <Button type="primary">主按钮</Button><br />
        <WechatOutlined /><WechatWorkOutlined />
        <Button type="primary" shape="circle" icon={<SearchOutlined />} />
        <Button type="primary" icon={<SearchOutlined />}>
          Search
        </Button>
        <DatePicker onChange={onChange} />
        <RangePicker />
      </div>
      
    )
  }
}